package com.kakarote.hrm.entity.BO;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;


@Data
@ApiModel("部门拖拽对象")
public class DeptMoveBO {

    @ApiModelProperty(value = "部门id")
    @NotNull(message = "部门id不能为空")
    private Long deptId;

    @ApiModelProperty(value = "父级ID，没有为0")
    @NotNull(message = "部门id不能为空")
    private Long parentId;

    @ApiModelProperty(value = "前面部门编号，没有为0")
    @NotNull(message = "前面部门id不能为空")
    private Long frontId;
}
